package com.ktjy.dao;

import com.ktjy.entity.Pet;
import org.springframework.stereotype.Component;

@Component("petDao")
public class PetDaoImpl implements PetDao {
    @Override
    public int addPet(Pet pet) {
        System.out.println("宠物"+pet.getName()+"已上线");
        return 1;
    }
}
